//package com.eastfair.gateway.config;
//
//import com.eastfair.mq.config.ChangeSelectorExpressionBeforeMqStartOfBusiness;
//import com.eastfair.mq.listener.BusinessPointListner;
//import com.eastfair.mq.listener.DieBusinessPointListner;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.stereotype.Component;
//
///**
// * base配置，里面包含mvc 拦截器,这样包含springUtils实体
// * @author ligang
// * @date 2017-12-15 14:42
// */
//@Component
////@Configuration
////@Import({
////        BusinessPointListner.class
////})
//public class RocketMqConfiguration {
//    /**
//     * lamp.log.enabled = true 并且 lamp.log.type=DB时实例该类
//     *
//     * @return 监听业务mq
//     */
//    @Bean
//    @ConditionalOnMissingBean(BusinessPointListner.class)
//    @ConditionalOnBean({ChangeSelectorExpressionBeforeMqStartOfBusiness.class})
//    public BusinessPointListner getBusinessPointListner() {
//        return new BusinessPointListner();
//    }
//
//    /**
//     * @return 监听死信
//     */
//    @Bean
//    @ConditionalOnMissingBean(DieBusinessPointListner.class)
//    @ConditionalOnBean({ChangeSelectorExpressionBeforeMqStartOfBusiness.class})
//    public DieBusinessPointListner getDieBusinessPointListner() {
//        return new DieBusinessPointListner();
//    }
//
//
////
////    /**
////     * lamp.log.enabled = true 并且 lamp.log.type=DB时实例该类
////     *
////     * @return 监听
////     */
////    @Bean
////    @ConditionalOnMissingBean(DieBusinessPointListner.class)
////    @ConditionalOnBean({ChangeSelectorExpressionBeforeMqStartOfBusiness.class})
////    public DieBusinessPointListner getDieBusinessPointListner() {
////        return new DieBusinessPointListner();
////    }
//
//
//}
